 <?php use_helper('I18N', 'Date') ?>
        <form action="<?php echo url_for('ml_incidents_collection', array('action' => 'batch')) ?>" method="post">
    <fieldset>
    <?php include_partial('incident/list', array('pager' => $pager, 'sort' => $sort, 'helper' => $helper, 'historique' => true)) ?>
    </fieldset>
    </form>
<script type="text/javascript">
$(document).ready(function(){
	$('.historique a').click(function(event){
		event.preventDefault();
	  var retour = jQuery.ajax({
	    type: "GET",
	    url: $(this).attr('href') + '&partial=true&numero=<?php echo $sf_params->get('numero') ?>',
	    async: false
	  }).responseText;
		jQuery('.historique').html(retour);		
	});
});
</script>